﻿<%@ Page Language="C#" MasterPageFile="~/PaginaInicio.master" AutoEventWireup="true" CodeFile="SolicitarReunion.aspx.cs" Inherits="SolicitarReunion" Title="Solictar Reunión" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

<style type="text/css">
        .style5
        {
            width: 549px;
        }
        
           
        .accordionCabecera
{

background-color: #118BD9;
font-family: Tahoma;
font-size: 12px;
font-weight: bold;
margin-bottom: 2px;
padding: 2px;
cursor: pointer;
Height: 20px;
color: #CCCCCC;


}
        
        .modalBackground {
 background-color:Black;
 filter:alpha(opacity=70);
 opacity:0.7;
}

    .style10
        {
            border: medium solid #0085C6;
            width: 228px;
            color: #CCCCCC;
            font-size: small;
            font-family: Tahoma;
            margin-left: 0px;
            margin-right: 0px;
            margin-top: 0px;
        }

.accordionContenido
{
font-family: Tahoma;
background-color: #0085C6;
border: none;

border-top: none;
margin-bottom: 7px;
font-size: 12px;
padding: 3px;
}


        .tablaEncabezado
        {
            color: #FFFFFF;
            height: 15px;
            font-family: Tahoma;
            font-size: medium;
            background-color: #C62D73;
            font-size: small;
            
        }
        
                .style27
        {
            color: #FFFFFF;
            height: 23px;
            font-family: Tahoma;
            font-size: medium;
        }
        .style66
    {
        width: 293px;
        text-align: left;
        margin-left: 80px;
        height: 103px;
    }
    .style67
    {
        width: 100%;
        text-align: left;
        margin-left: 80px;
        height: 103px;
    }
    .style68
    {
        width: 293px;
        text-align: left;
        margin-left: 80px;
        height: 65px;
    }
    .style69
    {
        width: 100%;
        text-align: left;
        margin-left: 80px;
        height: 65px;
    }
    .style70
    {
        width: 293px;
        text-align: left;
        margin-left: 80px;
        height: 51px;
    }
    .style71
    {
        width: 100%;
        text-align: left;
        margin-left: 80px;
        height: 51px;
    }
        .style74
    {
        width: 319px;
    }
        .style75
    {
        width: 293px;
    }
    .style76
    {
        width: 487px;
    }
        .style72
    {
        margin-left: 80px;
     height: 179px;
        width: 281px;
    }
    .style73
    {
        text-align: center;
    }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <asp:ScriptManager ID="ScriptManager1" runat="server" >
    </asp:ScriptManager>

    
    <table style="width: 100%;" cellspacing="-1">
        <tr>
            <td>
                &nbsp;</td>
            <td class="style5">
                <asp:Panel ID="Panel1" runat="server" Height="100%"  
                        Width="560px">
                
                    <table style="width: 100%; height: 270px;" cellpadding="-1" cellspacing="-1">
                        <tr>
                            <td bgcolor="#C62D73" class="style27" 
                             
                                
                                style="border-bottom-color: #000000; border-bottom-width: medium; border-bottom-style: solid;">
                                 Solicitar Reunión</td>
                        </tr>
                        <tr>
                            <td bgcolor="#00334C" style="text-align: center">
                                
                              <table style="width: 98%; margin-left: 5px; margin-right:10px; margin-bottom:5px; margin-top:5px; height: 232px;" 
                                    bgcolor="#00547D" cellpadding="-1" cellspacing="4">
                                    <tr>
                                         <td class="style70">
                                             <asp:DropDownList ID="ddlPresupuesto" runat="server" 
                                                 AppendDataBoundItems="True" AutoPostBack="True" BackColor="#0085C6" 
                                                 CssClass="style10" ForeColor="White" 
                                                 onselectedindexchanged="ddlPresupuesto_SelectedIndexChanged" 
                                                 style="font-family: Tahoma; height: 26px; font-style: italic;" Width="200px">
                                                 <asp:ListItem Selected="True" Value="0">Presupuesto/Evento a Tratar</asp:ListItem>
                                             </asp:DropDownList>
                                        </td>
                                         <td class="style71" colspan="2">
                                             <asp:TextBox ID="txtFecha" runat="server" BackColor="#0085C6" 
                                                 BorderStyle="None" BorderWidth="0px" Font-Italic="True" ForeColor="#CCCCCC" 
                                                 Height="20px" style="color: #FFFFFF" Width="200px"></asp:TextBox>
                                             <cc1:CalendarExtender ID="txtFecha_CalendarExtender" runat="server" 
                                                 Enabled="True" Format="dd/MM/yyyy" TargetControlID="txtFecha">
                                             </cc1:CalendarExtender>
                                             <cc1:TextBoxWatermarkExtender ID="txtFecha_TextBoxWatermarkExtender" 
                                                 runat="server" TargetControlID="txtFecha" WatermarkText=" Fecha">
                                             </cc1:TextBoxWatermarkExtender>
                                         
                                         </td>
                                    </tr>
                                    <tr>
                                        <td class="style68">
                                            <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                                <ContentTemplate>
                                                    <asp:DropDownList ID="ddlMotivo" runat="server" AppendDataBoundItems="True" 
                                                        AutoPostBack="True" BackColor="#0085C6" CssClass="style10" Enabled="False" 
                                                        ForeColor="White" onselectedindexchanged="ddlMotivo_SelectedIndexChanged" 
                                                        style="font-family: Tahoma; height: 26px; font-style: italic;" Width="200px">
                                                        <asp:ListItem Value="0" Selected="True">Motivo de Reunión</asp:ListItem>
                                                    </asp:DropDownList>
                                                </ContentTemplate>
                                                <Triggers>
                                                    <asp:AsyncPostBackTrigger ControlID="ddlPresupuesto" 
                                                        EventName="SelectedIndexChanged" />
                                                </Triggers>
                                            </asp:UpdatePanel>
                                        </td>
                                        <td class="style69" colspan="2">
                                            <i style="color: #FFFFFF; font-family: Tahoma; font-size: small">
                                            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                                <ContentTemplate>
                                                    <asp:DropDownList ID="ddlHoras" runat="server" AppendDataBoundItems="True" 
                                                        AutoPostBack="True" BackColor="#0085C6" CssClass="style10" Enabled="False" 
                                                        ForeColor="White" 
                                                        style="font-family: Tahoma; height: 26px; font-style: italic;" 
                                                        Width="200px" onselectedindexchanged="ddlHoras_SelectedIndexChanged">
                                                        <asp:ListItem Value="0" Selected="True">Horarios Disponibles</asp:ListItem>
                                                    </asp:DropDownList>
                                                </ContentTemplate>
                                                <Triggers>
                                                    <asp:AsyncPostBackTrigger ControlID="ddlMotivo"  
                                                        EventName="SelectedIndexChanged" />
                                                </Triggers>
                                            </asp:UpdatePanel>
                                            </i>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style66">
                                            <asp:TextBox ID="tbxComentario" runat="server" 
    BackColor="#0085C6" BorderStyle="None" BorderWidth="0px" Height="70px" 
    Width="200px" Font-Size="Small" ForeColor="#CCCCCC" style="font-family: Tahoma; color: #FFFFFF; font-style: italic;" 
                                                TextMode="MultiLine"></asp:TextBox>
                                    
                                    
                                                               
                                 <cc1:TextBoxWatermarkExtender ID="tbxComentario_TextBoxWatermarkExtender" 
    runat="server" TargetControlID="tbxComentario" WatermarkText=" Comentario">
</cc1:TextBoxWatermarkExtender>
                                        </td>
                                        <td class="style67" valign="top" colspan="2">
                                        
                                            <i style="color: #FFFFFF; font-family: Tahoma; font-size: small">El motivo de la 
                                            reunión determina el tiempo aproximado que será asignado a cada una.<br />
                                            <br />
                                            El el campo de comentarios puede especificar el motivo de su reunión para una 
                                            mejor atención.</i></td>
                                    </tr>
                                    
                                    <tr>
                                    <td colspan="3" height="1">
                                        <table style="width: 100%;">
                                            <tr>
                                                <td>
                                                    <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                                                        <ContentTemplate>
                                                            <table ID="tableDegustacion" runat="server" align="center" visible="true">
                                                                <tr>
                                                                    <td class="style72">
                                                                        <div class="style73">
                                                                            <i style="color: #FFFFFF; font-family: Tahoma; font-size: small">Seleccione los 
                                                                            platos de que desee degustar. Los mismos estan relacionados al menú seleccionado 
                                                                            en la contratación del evento.</i>&nbsp;<br />
                                                                            <br />
                                                                            <asp:UpdatePanel ID="UpdatePanel7" runat="server">
                                                                                <ContentTemplate>
                                                                                    <asp:DropDownList ID="ddlPlato1" runat="server" AppendDataBoundItems="True" 
                                                                                        AutoPostBack="True" BackColor="#0085C6" CssClass="style10" 
                                                                                        DataValueField="tMenu_Nombre" ForeColor="#CCCCCC" 
                                                                                        onselectedindexchanged="ddlPlato1_SelectedIndexChanged" SkinID="2" 
                                                                                        style="font-family: Tahoma; " 
                                                                                        ToolTip="Seleccione una opción de plato a degustar" Width="200px">
                                                                                        <asp:ListItem Value="Plato Opcion 1">Plato Opcion 1</asp:ListItem>
                                                                                    </asp:DropDownList>
                                                                                </ContentTemplate>
                                                                                <Triggers>
                                                                                    <asp:AsyncPostBackTrigger ControlID="ddlHoras" 
                                                                                        EventName="SelectedIndexChanged" />
                                                                                </Triggers>
                                                                            </asp:UpdatePanel>
                                                                            <br />
                                                                            <asp:UpdatePanel ID="UpdatePanel5" runat="server">
                                                                                <ContentTemplate>
                                                                                    <asp:DropDownList ID="ddlPlato2" runat="server" AppendDataBoundItems="True" 
                                                                                        AutoPostBack="True" BackColor="#0085C6" CssClass="style10" Enabled="False" 
                                                                                        ForeColor="#CCCCCC" onselectedindexchanged="ddlPlato2_SelectedIndexChanged" 
                                                                                        style="font-family: Tahoma" ToolTip="Seleccione una opción de plato a degustar" 
                                                                                        Width="200px">
                                                                                        <asp:ListItem>Plato Opción 2</asp:ListItem>
                                                                                    </asp:DropDownList>
                                                                                </ContentTemplate>
                                                                                <Triggers>
                                                                                    <asp:AsyncPostBackTrigger ControlID="ddlPlato1" 
                                                                                        EventName="SelectedIndexChanged" />
                                                                                </Triggers>
                                                                            </asp:UpdatePanel>
                                                                            <br />
                                                                            <asp:UpdatePanel ID="UpdatePanel6" runat="server">
                                                                                <ContentTemplate>
                                                                                    <asp:DropDownList ID="ddlPlato3" runat="server" AppendDataBoundItems="True" 
                                                                                        AutoPostBack="True" BackColor="#0085C6" CssClass="style10" Enabled="False" 
                                                                                        ForeColor="#CCCCCC" onselectedindexchanged="ddlPlato3_SelectedIndexChanged" 
                                                                                        style="font-family: Tahoma" ToolTip="Seleccione una opción de plato a degustar" 
                                                                                        Width="200px">
                                                                                        <asp:ListItem>Plato Opcion 3</asp:ListItem>
                                                                                    </asp:DropDownList>
                                                                                </ContentTemplate>
                                                                                <Triggers>
                                                                                    <asp:AsyncPostBackTrigger ControlID="ddlPlato2" 
                                                                                        EventName="SelectedIndexChanged" />
                                                                                </Triggers>
                                                                            </asp:UpdatePanel>
                                                                            <br />
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </ContentTemplate>
                                                        <Triggers>
                                                            <asp:AsyncPostBackTrigger ControlID="ddlHoras" 
                                                                EventName="SelectedIndexChanged" />
                                                        </Triggers>
                                                    </asp:UpdatePanel>
                                                </td>
                                                <td>
                                                    <asp:UpdatePanel ID="UpdatePanel8" runat="server">
                                                        <ContentTemplate>
                                                            <asp:Image ID="imgPlato" runat="server" Height="212px" style="margin-left: 0px" 
                                                                Width="187px" />
                                                        </ContentTemplate>
                                                        <Triggers>
                                                            <asp:AsyncPostBackTrigger ControlID="ddlPlato3" 
                                                                EventName="SelectedIndexChanged" />
                                                            <asp:AsyncPostBackTrigger ControlID="ddlPlato2" 
                                                                EventName="SelectedIndexChanged" />
                                                            <asp:AsyncPostBackTrigger ControlID="ddlPlato1" 
                                                                EventName="SelectedIndexChanged" />
                                                        </Triggers>
                                                    </asp:UpdatePanel>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                    
                                  </tr>
                                    <tr>
                                        <td class="style75" height="10">
                                            &nbsp;</td>
                                        <td class="style76">
                                            <asp:UpdatePanel ID="UpdatePanel4" runat="server">
                                                <ContentTemplate>
                                                    <asp:Label ID="lblMensaje" runat="server" ForeColor="Maroon" 
                                                        style="color: #FF3300"></asp:Label>
                                                </ContentTemplate>
                                                <Triggers>
                                                    <asp:AsyncPostBackTrigger ControlID="btnEnviar" EventName="Command" />
                                                </Triggers>
                                            </asp:UpdatePanel>
                                        </td>
                                        <td class="style74">
                                            <span>
                                            <asp:Button ID="btnEnviar" runat="server" BackColor="#0085C6" 
                                                BorderStyle="None" Font-Bold="True" Font-Italic="False" ForeColor="#CCCCCC" 
                                                Height="23px" onclick="btnEnviar_Click" 
                                                style="margin-top: 0px; text-align: right;" Text="Enviar" 
                                                 ValidationGroup="1" Width="54px" />
                                            </span>
                                        </td>
                                    </tr>
                              </table>
                            </td>
                        </tr>
                    </table>
                
                
                </asp:Panel>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td class="style5">
                
                
               
                                   
 
    
        <asp:Panel ID="Panel3" runat="server" BackColor="#00547D" 
                    style="text-align: center" Width="230px">
            <table style="width:100%;">
                <tr>
                    <td class="style27" bgcolor="#C62D73">
                        Solicitud de Reunión</td>
                </tr>
                <tr>
                    <td style="text-align: left; font-family: Tahoma; font-size: small; color: #FFFFFF">
                        La Reunión ha sido Solicitada, Nos comunicaremos a la brevedad.</td>
                </tr>
                <tr>
                    <td style="text-align: right" bgcolor="#00334C">
                        &nbsp;
                        <asp:Button ID="btnContinuar" runat="server" BackColor="#0085C6" 
                                    BorderStyle="None" Font-Bold="True" Font-Italic="False" ForeColor="#CCCCCC" 
                                    Height="23px" style="margin-top: 0px; text-align: right; margin-left: 0px;" 
                                    Text="Continuar" ToolTip="Continuar a la Ventana Principal" Width="65px" 
                            onclick="btnConfirmarCancelacion_Click" />
                    </td>
                </tr>
            </table>
        </asp:Panel>
                
                
                
                <cc1:ModalPopupExtender ID="Panel3_ModalPopupExtender" runat="server" 
                    DropShadow="True" Enabled="True" 
                    PopupControlID="Panel3" 
                    TargetControlID="btnEnviar" BackgroundCssClass="modalBackground" 
                    CacheDynamicResults="True" Drag="True">
                </cc1:ModalPopupExtender>
                
                
                
                
                </td>
            <td>
                &nbsp;</td>
        </tr>
        </table>







</asp:Content>

